package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfMemberDeviceDao;
import com.wfcm.entity.WfMemberDeviceEntity;
import com.wfcm.service.WfMemberDeviceService;



@Service("wfMemberDeviceService")
public class WfMemberDeviceServiceImpl implements WfMemberDeviceService {
	@Autowired
	private WfMemberDeviceDao wfMemberDeviceDao;
	
	@Override
	public WfMemberDeviceEntity queryObject(Integer id){
		return wfMemberDeviceDao.queryObject(id);
	}
	
	@Override
	public List<WfMemberDeviceEntity> queryList(Map<String, Object> map){
		return wfMemberDeviceDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfMemberDeviceDao.queryTotal(map);
	}
	
	@Override
	public void save(WfMemberDeviceEntity wfMemberDevice){
		wfMemberDeviceDao.save(wfMemberDevice);
	}
	
	@Override
	public void update(WfMemberDeviceEntity wfMemberDevice){
		wfMemberDeviceDao.update(wfMemberDevice);
	}
	
	@Override
	public void delete(Integer id){
		wfMemberDeviceDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfMemberDeviceDao.deleteBatch(ids);
	}
	
}
